package com.qf.util;

import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;

import java.util.Date;

/**
 * 2019/12/6
 * Administrator
 * springboot1206
 * 面向对象面向君  不负代码不负卿
 */
//@Configuration//配置类
//@EnableScheduling
public class MySpringTask {
  //  @Scheduled(cron = "* * * * * ?")
    public void aa(){
        System.out.println("springTask="+new Date());
    }
}
